package com.wcar.store.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wcar.common.entity.Station;
import com.wcar.common.vo.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StantionDao extends BaseMapper<Station> {
    IPage<Station> selectStationAll(IPage<Station> iPage, @Param("ew") QueryWrapper<Station> wrapper);

    List<Station> getStoreNum(Object o);

    List<Station> getStoreNumUsed();

    void updateIdle(Integer stationId);

    void updateIdles(Integer stationId);
}
